﻿<%@ Page Language="C#" MasterPageFile="~/Admin/AdminMasterPage.master" AutoEventWireup="true"
    CodeFile="AddNewCarMake.aspx.cs" Inherits="Admin_car_insurance_AddNewCarMake"
    Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="contents">
        <table width="100%" cellpadding="3" cellspacing="0" border="0">
            <tr>
                <td colspan="2">
                    <h1>Add New Car Make</h1><asp:Label ID="lblCarMakeId" Visible="false" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td style="width: 30%"; valign="top">
                    Car Make Id
                </td>
                <td>
                    <asp:TextBox ID="txtCarMakeId" runat="server" MaxLength="6" Enabled="False"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtCarMakeId"
                        EnableClientScript="False" ErrorMessage="RequiredFieldValidator"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Description
                </td>
                <td>
                    <asp:TextBox ID="txtDescription" runat="server" MaxLength="100" Width="300px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtDescription"
                        ErrorMessage="RequiredFieldValidator"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Status
                </td>
                <td>
                    <asp:CheckBox ID="chkCarMakeStatus" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    <asp:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" Text="Submit"
                        ValidationGroup="carmake" CssClass="btn blue" />
                    <asp:Button ID="btnClearForm" runat="server" CausesValidation="False" OnClick="btnClearForm_Click"
                        OnClientClick="return confirm('Are you sure to clear form?');" Text="Clear" CssClass="btn blue" />
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    <asp:Label ID="lblMessage" runat="server" ForeColor="Green" Font-Bold="true"></asp:Label>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
